I haven’t experimented on your specific use-case, but, yes it’s pretty simple.
Here’s a basic example