Yes, the M2 Pro can be deployed indoors (e.g. flat, room, house, basement, storage container, etc.).
However, it will slightly affect your mining performance (see the chapter “Mining”). To get the largest amount of received network, we recommend that you set it up on a rooftop or a balcony.
In general, we encourage our customers to set up the M2 Pro outdoors.