Do I have "the right" as a grad student to take a class just for fun?
Just turn up for the class. Don't register; just sit-in. Afterwards, explain to the instructor that you're studying a PhD in computational biology and that you have a personal interest in the course. You won't get credit, but you're fulfilling a personal interest, not an academic requirement.