yes, but the best way is to purchase the bitcoin via btc api in your country (i.e. bitpanda in germany or bitonic in the Netherlands, or your country's equivalent) and just send it to your bitcoin deposit address on the exchange where the crypto is that you want to purchase.
That way you also rule out other transaction costs of sending btc to exchange A and then realising you want to purchase a crypto on exchange B and will have to send btc again..
hope that helps!