Cartouche around a section or book title

It it possible to have an image surround text (or, to simply lay behind it)?

I’m looking to put the name of a book within a decorative border. Obviously I could create separate images for each book, but that would take time and would bloat the app.

A mockup would look like this: