Can a teacher create a set of custom rhythms to share with students?

Yes. Create the patterns and pattern sets in the usual way, and then save/export them from the Export Custom Set menu. Once exported, they can be shared in the same way that any other files can be shared from any app that stores and shares files.