6 week old baby awake for 6 hours at a time

He yawns but fights sleep! Eventually goes to sleep but on his terms. It’s so weird. Anyone else’s baby do this?