Yes, mouth cancer can occur without any habits but it is unrelated to your complaints. I think you may be suffering from Aphthous Ulcers which is due to many, different causes.
Next Steps
Please visit an Oral Pathologist or an Oral Pathologist for management of the above.