Share gameobject between scenes

This question has been asked before but not really answered in this way. Suppose we have some sort of listener regardless of the scene (this is just an example is my situation is more complex).
Would it be possible to make one gameobject which isn’t attachted to one single scene but lives independently?

If you invoke
DontDestroyOnLoad(gameObject);
on your object it won’t delete when you change scenes.