Of course, Newton's laws are valid on all forces provided that an inertial frame is considered (can apply in non inertial frames too, but let's not discuss that now as it is irrelevant). So okay, if you want to apply 3rd law on friction, there will be an equal and opposite force on the surface too. The best way to see this is a two-block problem where you place a block on another one. Now, the floor on which the lower block is kept shouldn't be too rough, a moderately rough surface will do. Now provide the upper block a velocity relative to the lower one. You will see that both blocks will move seperately initially and gradually they will start moving together afterwards. You may also choose to calculate the time at which they start moving together, provided you know the coefficient of friction and other details as may be required, but since that's not exactly the question here, I'll leave it for now.
Use this link if you want a diagram reference for the situation I have described. Try applying Newton's second law and kinematics' relations to find the time at which start moving together and other parameters.
I hope this answers your question!