It could very well be, as anosmia appears to be a distinctive symptom of COVID-19 infection. In Germany, it has been reported that 2 in 3 confirmed cases have a loss of sense of smell. In South Korea, approximately 30 percent of cases have anosmia as a symptom.
You should consult a doctor immediately and inform him of your symptoms. He will take a detailed history and refer you for further investigations, if required. This is even more crucial if you have previous contact history with a COVID-19 positive patient.
Best regards