Sure it can. But that's a lot more annoying, since you have to do a bunch of legwork (ha! "leg"work) to find the height in that case.
Any side of any triangle can always be used as the base. The choice is usually predicated on convenience and/or availability of information.