Yes, as long as you have a valid invoice, even from yourself to yourself from the country your sending money to, it should not be a problem.
For example, if you have a business in Sri Lanka and you are italian, you can send yourself an inovice to your Sri Lankan business, from your Italian business for your 'consulting fee, which is legitimate.