Yet another sleep question

My LO went down last night at 8:30 pm. I dream fed him at 11 pm when hubby and I went to bed. LO then slept until 4 am. It’s very difficult to get him to go back down in his pack n play and most nights it takes so long we end up putting him in our bed and co sleep with him.

I’d like to break this habit but I know babies sleep drive is lower after like 3 am..so that’s what’s making it difficult to put him back down in his own space.

Do you ladies have any suggestions or are any of you dealing with this too?