Yes, you can use earthworms for composting or gardening, as they help to break down organic waste and enrich the soil. You can collect them from your bathroom and transfer them to a worm bin or a garden bed.