It's too extreme to say that it can or can't be planted indoors. Here are some common situations for your reference:
Needless to say, this is the best place for ordinary family farming.
There is sufficient sunshine in the window position indoors. In this case, the bougainvillea can be cultured indoors. Although there may be some discount in the flowering effect, it is not as delicate as the outdoor one, but it is OK in general.
In this environment, in theory, it is not suitable for cultivating triangle plum. In this case, the flowering effect is poor, but sometimes it may surprise you because of the different brightness of the astigmatism.
Many flower lovers want to watch the flowers and move indoors during the plum blossom period. Although this has a certain impact on its growth, it can still do so.
The light is general. It's not recommended to try in this environment!

In fact, the key factor of indoor maintenance is light and ventilation. As long as these two problems are solved, indoor maintenance can be carried out.