Yes. Let the lumber dry out first, this can take several weeks. Next, wash it with 1 part bleach and 3 parts water, let it dry. Now prime with an exterior alkyd primer and its ready to paint.