2 months old sitting with pillows behind to support?

J1

I did his 2 months photoshoot myself, I made him sit like in the pics for 6 mins or so. I read it’s harmful for babies. Now I am really tensed and worried. Will it have harmed him?