GPU is never really a problem to buy secondhand. Generally if they work when they are purchased, then as long as they are not kept in AWFULL conditions, then they will work 5 years down the line.
So yes, go for it.
Don't go for a 1080 if you can buy a 1070ti as there is basically no difference after the smallest of overclocks.