Yes, you can publish provided that the editor and the reviewers accept your paper, perhaps after revision. There are no "credentialing" requirements to publish in a field.
Some people are just self taught and rise to a high level. It is true, however, that the reviewers may look at your lack of degree and decide to be extra vigilant. But they should be vigilant with new degree candidates as well. Actually they should just be vigilant, of course.
There are some fields, however, that in some places you need to be careful about. But that is more about how you present yourself than what you write. For example, in some places it is illegal to call yourself an "engineer" without a degree and, perhaps, a license.