It is possible to have a hyperlink in an SVG image.
One use for this in InDesign is to create a clickable logo inside the Viewer Display frame.
In Illustrator,
- Open your graphic (or place it into a new document).
- Make a rectangle with a solid fill.
- Set the Transparency to 0%.
- Apply the URL to the rectangle using the Attributes panel.
You may to to choose
Save/export the file to SVG using File > Save a Copy or File > Save As (do not use File > Export as it will not include the link).
You can see the process in the video below.