Could we use a Dyson sphere to harvest energy around a black hole?

Advanced civilizations could build giant power generator structures around black holes and we could even detect them.