Yes you are allowed to carry on a government approved car seat instead of gate checking it..and if there are plenty of open seats your idea should work out. I would talk to the gate agent.
Here's the pertinent info about the car seat:
https://www.united.com/web/en-US/con...ge/infant.aspx