Shower niche in larger cavity
What are you planning on using on the walls and for waterproofing? If using kerdiboard you can just make the niche out of that and glue the panels together with kerdifix. It doesn't need to be supported although some blocking for it to sit on wouldn't hurt