Yes. You can use extra listeners by setting it in the spark.extraListeners property. The spark.extraListeners is a comma-separated list of classes that implement SparkListener. when initializing SparkContext, instances of these classes will be created and registered with Spark's listener bus.
To add extra listeners to Spark, you can set this property while using the spark submit command. Example:
./bin/spark-submit --conf spark.extraListereners <Comma-separated list of listener classes>