That's got nothing to do with trademark one way or the other. The question is whether you can maintain a proprietary interest in something created with tools appropriated form others.
I'm going to go out on a limb here and suggest that the answer is "of course you can".