Is it possible to map media_player to a switch type

I am looking to expose a media player as a switch with on/off parameters.

From other discussions it looked like it was possible to map it to a switch with a universal media player but the switch was not functional. The switch would show the correct state of the media_player but the switch would not change the state.

I am using the bravia_tv platform.

Any help is appreciated.