Yeap you can write to the page and when ready save to the dB. Use custom states of type “number” for this on the page.
Custom States | Bubble.io Tutorial