You can still add it now. Lactose is not very soluble in room-temp liquid, so dissolve it first in hot water, and then add that liquid to the beer.
Did you use whole fruit? Any bacteria and wild yeast the raspberries naturally had on them can likely digest lactose, so at the end of the day you might not get the sweetness you are after, and bottle bombs are a possibility.