Hi Nikola,
Yes, this is possible. You must store the bookmark (and possibly all the variable data) somewhere else when the lesson is closed, though. If you have an LMS, you can store it in the LMS. If you don't have an LMS, you can use the brower's "local-storage" which will save that data to the learner's computer.
You can use the Template > Apply Template > Master > Bookmarking template and apply it to
all your pages (on top), and it should automatically handle LMS bookmarking when the lesson is deployed from an LMS. That template can be edited to work with local-storage if you are not using an LMS. More info about that on
this forum post, which includes a
video on switching to local storage.
Hope that helps!