Yes, you can use such coffee grounds. However, if there is any mold on them, it shouldn't be mycotoxin producer.