As other have pointed out up thread, that might work in some countries and in some disciplines, but not in STEM in North America, Europe, or Japan. Number of lines on the CV is important. Demonstrated impact and quality of those lines is equally as important.
The tenure application portfolio at my institution requires information regarding both the quality of the journals in which the applicant’s papers appear and the citations garnered by those papers. Similar information is showing up on applications for starting faculty positions as well.
If an applicant for a job in my department listed a paper in a predatory open access journal on their CV, they’re immediately in the “no” pile. If an Associate Prof at my institution was trying to get tenure on the basis of such papers, their Head and Dean would make it clear to them in an annual career progress meeting that those publications would be a strike against, and that they needed to publish in legitimate venues.