When you do against Search engine guidelines it may violate your website, so there is possible to make Google penalty to penalize your website(it wont be avaialble of ranking in SERP)
A Google penalty is the negative impact on a website's search rankings based on updates to Google's search algorithms or manual review. The penalty can be a by-product of an algorithm update or an intentional penalization for various black-hat SEO techniques.
In SEO, Google penalty refers to the penalization of a website by search engines as a result of implementation of Black Hat SEO techniques or violation of any search engine rules.
A Google penalty is the negative impact on a website's search rankings based on updates to Google's search algorithms or manual review. The penalty can be a by-product of an algorithm update or an intentional penalization for various black-hat SEO techniques.