Link back to (paged) archive and find the correct page

There’s no built-in function for what you’re after – plus have you also considered what if a user visited your post from a date-based or category archive? You might find using the HTTP referer is more suitable:

<a href="<?= esc_url( wp_get_referer() ?: home_url() ) ?>">Back to overview</a>