Yeah, you can, but it requires extra caution. Cutting damp wood and pressure-treated lumber is harder on the tool and requires special attention.
You must maintain a smooth, steady feed rate without decreasing the blade speed. If you slow down or force it, you risk overheating the blade tips. Also, some pressure-treated lumber contains chemicals that may be toxic, so you need to follow all relevant safety data and wear a dust mask to prevent inhalation.
HEADS UP: After cutting that stuff, clean your saw thoroughly, especially the lower guard mechanism. Accumulated sawdust from other materials can affect the proper closure of the lower guard, which is a major safety issue. And always wear your PPE – eye protection and a dust mask are non-negotiable here.