MQTT Switch variable in payload

Hello Members,

I am new to HA. I just want to know that is it possible to send an input_number.xyz using mqtt switch?

Thanks in advance to all who are involved to help me out.

Thanks
Bhavik