Can you use block patterns in block templates or insert them programmatically?

I’d like to use block patterns within a block template, but it looks like that’s not possible?

Alternatively, where is the API for block patterns defined? Looking for a reference similar to insertBlock but for patterns.