Lottery on-chain it's not new anymore.
We already seen this, so it's really a not new topic. Most of lottery are using "RNG" system, If you looking on-chain lottery you can take a look from "PancakeSwap". This decentralized exchange provided a lottery for their community.
It's already been implemented on the chain.
I don't think that any of them are using semi-fungible tokens (ERC-3525 protocol). But personally i don't understand the benefits of it or how this would work yet (compared to RNG)
Maybe op can shade some light and explain how ERC-3525 can be used for gambling and how that's superior to normal smart contracts we already have.