Is it possible to drive a 12V DC motor with XL6009?
5V boosted to 12V means 12V/5V= 2.4  times the current.
IE: If you are drawing 1A at the 12V output, you need 2.4A at the 5V input. And that's at 100% efficiency, which we all know is not possible. That boost module states an efficiency of about 94%, but I'd still expect less.

That boost module link states a 4A input max and that the inductor can handle 3A max. I can say from experiance with those very boost modules that 3A continuous will burn them out at room temperature without heatsinks and fans. I'd say 2A is a good limit.

You did not give any details about the motor other than it is "12V"...
Your motor will have current spikes upon starting, which you may be able to get away with, as it won't be continuous.
However, the motor appears to be rated at 1.2A max. You need 2.4*1.2A= 2.88A on the 5V input. That's awfully close to the hard-limit of 3A. If we also consider the current spikes upon starting or 'power-breaking' (quickly reversing direction), the current will be higher still.

I would not feel comfortable with that boost converter for extended use. It would be less an issue if the motor were used at only partial capacity. If it is used lightly then you may be fine.

Regardless, I would recommend connecting a PTC (auto resetting fuse) inline with the input of the boost converter. They don't cost much.
PTF fuses can take a while to blow at 100-150% (seconds to minutes), so pick a rating of about 2A. That way, there is some form of protection against a stalled/"stuck" motor. They are thermal based, and will heat up (a lot) once they trip. In order for them to "reset", the current must be dropped.