Actually not, the supported way is using the prototype.
Do you see any actual use case for this?