Preheat the oven to 350 degrees. Spread the flour out on a baking sheet.
Bake the raw flour for 5 minutes to kill any bacteria.
Make the cookie dough. Cream the buttery spread, brown sugar, and vanilla extract. Slowly add the salt and cooked flour and mix until it becomes a thick dough.
Once the bites are frozen, make the ice cream. Pour the coconut milk or coconut cream, maple syrup, vanilla extract, and salt into the ice cream maker. Mix according to the instruction manual. If you are using a model with a freezer bowl, it should take about 25 minutes.
If you need to make this recipe gluten free, use gluten free oat flour, like in this recipe for Gluten Free Cookie Dough Bites.
This ice cream is best eaten right away. If you do freeze it, it will get very hard. Be sure to thaw it out before attempting to scoop it.