You can't do that using bookmarks in QGIS. Bookmarks' goal is panning and zooming to pre-defined extent. Carrying out that by programming/plugin via bookmarks doesn't make any sense, too. Because, bookmarks don't hold any layer information, like 'which layer was selected when bookmark created'.