I can't speak about all universities, but where I did my undergrad there was a limit on the number of graduate hours that would count towards your degree. So I guess in theory you could take a ton of graduate courses but you would get to a point where the courses wouldn't be counting towards your undergrad or a graduate degree.