They 100% are. Without anyone's consent. Lemmy instances will even send all the data to your own instance's db! No scraping required even!
I haven't had a close look at lemmy.world recent TOS, but I'd be adding a revenue share clause to any posts used to train models originating from their instance's community