It is technically possible but it is against most object oriented programming rules.