Virtual (generic) RGB lights

Hi!
Is it possible to create “virtual RGB lights” ?Better in ESPHome than in HA.I need to use it only in HomeAssistant UI,no real use needed.Sorry for my english!