Frontend blueprint

I am writing a frontend tempalte for a device in homeassistant, i have multiple devices and want to give them all the same frontend. For this i have a over 100 lines in yaml, can this be made into a sort of template so i can just write sometinh like:

  • type: blueprint_xxxxxxxx
    device: my device
    so i dont have to change all the frontend for every device sperate when i want to change someting?

Google a custom decluttering card.