Yes — but you still need to put in some prep work! First of all, you need to clean the wood. Then sand it with 150-grit sandpaper to roughen the wood finish. This will allow the paint to cling to the wood surface better.
After sanding the wood, apply a primer. It’s essential to choose the right primer according to whether you’re painting over an oil or water-based wood stain. You must also choose a primer compatible with the type of paint you’re using.
Once the primer has dried, you can paint the wood.