Yes, you are simply altering the flavor of butter, giving it a deeper and slightly nutty flavor. Brown butter can be used any time regular butter is called for.