Yes, it is possible to surface the type of the module (would need to be passed to the template, happy to help with that).

However, I am not sure if it is good to have this message at all given the other issues with reverse and getting urls in xmodules.