Hi @Bisoton, its possible. You only need to acess Store>Configuration>Catalog>Invetory>Set Stock Display Out of Stock Products to Yes.
Hope it helps.
This does not come out of the box in Magento. You need to make some customization. Follow the below link to make the customization.
Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.
This is the working solutions link from stack exchange profile,