In most areas, yes.  But if you are part of a home owners association or condominium project, you will need to check their rules.  Also, in areas where there are no rules, and just because you CAN paint your house pink, does not mean it's advisable to do so.  It's good to get a second opinion on colour choices from experts.