That is very well possible, every good LinkedList implementation does it that way.
Why do you think it would not be possible? At what point does it matter to the Node-class what type its content is?