Perhaps you could create a parameter with the list of values 1-5 plus "All". You could then create a calculated field which does something like this:
IF [Parameter]=[Value] THEN
// This will be one of our 1-5 options, so we want to include it.
ELSEIF [Parameter]="All" THEN
// If All, we just want to include everything.
// For all other options, exclude the value.
Then create a filter from this calculated field and only select the "Include" value. This should work as you requested, with one primary limitation. Parameter lists only allow one selection at a time, so you won't be able to select multiple values. For instance, you won't be able to show 1 and 2, but not 3, 4, and 5. You'll be able to select one value or all.
Hope this helps. If so, please be sure to mark this answer as helpful or, if it solves your problem, mark it as the "correct answer." This will help others with similar problems in the future. Thanks!
The closest I've seen this done is in the following thread. It's almost what you are asking for but not quite there. Hopefully, it gives you some ideas.