How to add CSS class to figcaption in kirbytext

I need to inject a utility class to the figure caption:

(image: filename.jpg captionclass: align-right)

Is this possible?

Reference: https://getkirby.com/docs/reference/text/kirbytags/image

No, but you can roll your own by extending the existing tag.

Yes.

I will extend the kirbytag.

How likely are CSS classes to get implemented?
It would be great to have access to all attributes especially when working with utility classes.

Thank you very much.