Are you asking if you can restore a Time Machine backup of your MacBook to an iMac? Yes, you can.
Will it delete whatever is on your iMac? to do a restore, yes, it will wipe the iMac.
Do you just want the same user on each machine? That you can do by running Migration Assistant from the iMac. which is in:
/Applications/Utilities/
feel free to provide more and specific details about what you have and want.