Yes it is possible, see the tests in
github.com/datastax/pulsar-jms (it is a project I maintain).
But please note that it is a bit tricky due to dependency management, and also you must run your tests on jdk17 (because the Pulsar broker runs only on jdk17+)