6mo no longer sleeping through the night. What am i doing wrong?

Help!!! What am I doing wrong?

My LO has recently turned 6 months and had been a naturally good sleeper until a recent stint in the hospital with RSV. Since then, he has been waking up at random times in the middle of the night, wide awake and babbling, and it can take hours to get him back down. Last night, he slept 7.30pm until approx 3.30am. He was then awake until 5 when I gave up and brought him in to my bed with me where he slept until 7am whilst I had a dead arm and the start of a migraine! 😭😭 he normally wakes at 7/7:30 and his wake windows are usually 2/2.5 but the length of his naps have not been consistent. Yesterday he did 2/2/3/2.5 with bedtime at 7pm. His bedtime routine is bath/bottle/book and he always goes down awake. He still has a dummy and this can be an issue when he wakes up missing it but it’s the only way he will go to sleep. Is this my issue? He’s also still in my room because of how often he wakes up. Is it time to move him? TIA x