Yes it is OK to spray your doors and trim. The idea that spraying will cause wood to warp is absolutely false. If this was the case then brushing would do the same.
Spraying will provide a nice smooth finish that will be very apparent on your doors. Personally I don't like brush marks and would want my doors sprayed.