I don't have direct experience with elevated temperatures with this, but I'd recommend looking into something like this:
https://www.proto-pasta.com/products/high-temp-pla-v2-0. Make sure that you heat treat it before using it in service, though.
Alternatively, you might be able to print a negative and cast it in another material (thermoset? plaster?) that holds up better.