Yes, it doesn't matter that you're paying foreign companies or individuals to carry out R&D work. However, it's important that they go through your UK limited company. You want to ensure you have contracts and invoices in place as supporting evidence for the R&D work being conducted as part of your R&D Claim.