There is a long history of congressional regulation of Supreme Court ethics. It's time for an update.
https://www. brennancenter.org/our-work/analysis-opinion/congress-has-authority-regulate-supreme-court-ethics-and-duty
Congress Has the Authority to Regulate Supreme Court Ethics - and the Duty

From oaths to retirement to impeachment, Congress already regulates the high court, and it's time for stronger safeguards against corruption.

Brennan Center for Justice