If you want to use an chain tool to push the pin back in like we did in the old days, go for it. I have done that a few times with eight speed KMC chains.
If an eight speed chain will work on your bike, you could use the newer quick links if you chose to do so.
I use KMC chains, some eight speed chains use a quick link with a 7.3mm pin, some a 7.1mm pin, thus it is possible to have the wrong eight speed quick link for an eight speed chain. I think that Shimano and Sram use different pin lengths, but not sure.
Pushing the pin back in might not work with some of the chains for cassettes with lots of sprockets, but I do not know if there is a dividing line, or where that line is. I do not think I can do that on my bike with a 10 speed KMC chain.