I have COVID-19 infection and I think it came from work, is it covered under workers' compensation?

Yes, It can be. Workers' compensation is designed to provide benefits to workers whose injuries "arise out of and in the course of the employment." In the majority of cases it is obvious whether an injury happened at work (such as a fall from a ladder). There are, however, times when the relationship between the job and the injury will be questioned.