Yes, Newton's second law can be used to calculate the force of friction. By measuring the acceleration of an object on a surface and knowing the mass, the force of friction can be determined by subtracting the force due to acceleration from the applied force.