Yes, ferns do have chloroplasts in them. In fact,
ferns are photosynthetic plants, meaning they use sunlight to produce their own food. Chloroplasts are the organelles within plant cells where photosynthesis takes place.
Ferns, like all green plants, have chlorophyll within their chloroplasts, which is what gives them their green color and allows them to capture light energy for photosynthesis.