Yes, I have had blood clot (pulmonary embolus) on the lung following a hip replacement.
Yes, warfarin is the standard treatment, which was continued for about 4 weeks and all was well.
There are many reasons for pulmonary emboli, but the treatment is the same and standardised.
Don't worry.