When I was putting together a hub motor last summer I had a 36h cf i30 rim that I thought I might use but after consulting a few knowledgable wheel builders I decided against it and went with an aluminum one.
I would put more credence on going to a tubeless rim and being able to take advantage of that type of system over carbon fiber and did with my next hub build.