As Lively said, you can not. This is because the items that are there were not supposed to be broken in the first place, but an update made it possible to break them. Acquiring the items in the item frames can be considered entity glitching, and the items which they contain can also be considered "OP items", which is why they are not allowed to be broken. If you brake an item frame by accident, that is understandable, just make sure to not use the items to your advantage, and don't let anyone else have them.
Hope this helps, if you have any further questions about the topic, feel free to pass me a private message, and I will answer shortly!
Have a great day, thread locked