I would love something like this, if it could act as a Chromecast receiver. The protocol has been reverse engineered enough to make an open source client. I wonder if there's some technical reason that makes it difficult to make a server. I'd be surprised if the reason was just that no one has been interested enough to do it.
Devices that implement the Google Cast protocol all need a trusted keypair and certificate. Reimplementations of the client protocol can just ignore that, but the official ones validate the certificate and won't talk to devices that don't have one.
Given the relative abundance of supporting devices, they must be easy to extract from at least some of them I'd assume? Revoking these all the time would sound painful for the end user...