AC circuit to act as a relay for another DC circuit
This only works with high frequency AC input.



Is this what you mean?

If you want to allow lower frequencies, you would need a LC or an RC filter, where they have to be pretty large values.