Emergency Coffee via Chocolate Covered Coffee Beans?
It probably would not damage anything, but you would end up with rather a mess to clean up, probably, and not a very good product.

The chocolate would melt slowly, maybe clog the filter.  It might overflow hot, sticky coffee chocolate liquid all over.

The candy is also probably old enough since it was roasted that it wouldn't brew excellent coffee, even if it wasn't chocolate coated.

Eat them as candy--you will at least get your caffeine fix that way!  You will have energy to go out and get some coffee.