It's fine -- the problem with using a standard flash drive like that is the number of writes and rewrites. Unlike something used to store music or occasionally transfer big files, you will be asking this flash drive to be constantly writing and rewriting data.
You can pay a little more for a card that is designed for video surveillance that should technically last much longer, or you can use one of these with the understanding that it will fail at some point much sooner than a surveillance card.
Here's an article that explains it and recommends some high endurance sd cards.
The Best MicroSD Cards for Dash Cams in 2020
I ended up with the Western Digital Purple card as I'm not sure where they got the data for this article. WD claims the 256GB card can write at least 768TB of data, which is rewriting the card 3000 times over, which subjectively seems pretty good to me.