Why not? What useful feature is gated behind a proprietary API. Casting is one I can think of. But I think you can still get plenty of use out of a phone without casting.
There is technically a casting API in AOSP but it's old and doesn't integrate with Chromecast as well.