Rick and Morty's jokes come from all over the place, and Justin Roiland used a Big Bang Theory example of what the writers try not to do.
Source: https://www.cinemablend.com/television/ ... ing-itself