Is it possible to hide and show an element on a page (inside an artboard) when it is clicked on, without having to make a new artboard which shows that element?
I don't think that feature is available yet. You can request for that feature using this link
Adobe XD Feedback : Feature Requests & Bugs
Retrieving data ...