A cafeteria Catholic is typically defined as one who picks and chooses what Catholic teaching he wants to believe. Catholics are not free to choose which teachings (on faith and morals) to obey.
Even when the Church has not spoken on a matter of faith or morals definitively (infallibly), the faithful must give “a religious submission of the intellect and will” to its teachings (CIC 752).