burning NFT for share from the treasury

Hello dear Manifold team!

I’m an active user of Manifold and I really like what you do!

I would like such an option for my project. My goal would be that the owners of my NFTs can access it at any time from a treasury portfolio by burning the NFTs.

For example:
There is $1000 in the treasury and 100 NFT with different owners.

One NFT owner wants to get his share from the treasury, so he decides to burn his NFT.
The NFT connects the metamask wallet on the burning page and clicks on the “burn for share” button, then a smart contract burns the NFT and in return allocates 1/100 piece ($10) from the treasury to the wallet from which the NFT sent it for burning play.

Is it possible to create such an application?

Best regards, Petya