I can see this being difficult to implement in 1.12.2 due to vanilla's terrible handling of flower pots but in 1.13+ it should be fine. If this can't be done in 1.12.2 this ticket could be moved over to the 1.16+ project.
Plants affected:
purple flower
white flower
skyroot sapling
golden oak sapling
berry bush (debatable; perhaps breaks consistency with vanilla logic, but for 1.14+ the Quark mod allows for sweet berry bushes to be placed in flower pots, so this could be added for consistency with that and only allowed to be placed inside if Quark is also currently installed, or could just be allowed regardless)
I can see this being difficult to implement in 1.12.2 due to vanilla's terrible handling of flower pots but in 1.13+ it should be fine. If this can't be done in 1.12.2 this ticket could be moved over to the 1.16+ project.
Plants affected: