I was using a command to put people in Gamemode 3 within a radius of 25, and I tested it out and I was still able to break paintings. I tried breaking blocks and it didn't work, but on a paintings, it did. Also, I was able to rotate items in item frames.
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-22181, so I will resolve and link this ticket as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki