I have oil based paint on my trim now; can I switch to a latex based paint?

Absolutely. However there are necessary steps that must be taken. In order to assure success you must prime everything that has an oil base coat with a specific type of prime. Only use a contractor who is knowledgeable about those steps and one who is willing to explain the proper procedures to you.