In my country, it is neither legal nor illegal and hence it's OK to earn or hold bitcoins. If it's illegal in any country, better exchange the btc earned into local currency and use them for the expense. the government is not going to say anything for using the local currency.