Hi Bruno,
We have he ability to publish ROS Custom Messages but not yet a direct way of doing that for ROS2. This is being planned for the next release though.
However there is a workaround you can do by compiling the custom message packages for python 3.7 and include the binaries in the Isaac Sim repo . Check here for more details Custom Ros 2 messages