Yes, but how?
What sort of legal language would you propose?
Something like, "No elected official shall accept into their campaign funding any monies derived from persons, corporate bodies or industries regulated or contracted by legislative act or operating within their constituencies."