I never owned an N64 game that refused to save on anything but the cart but I had plenty that could optionally use a memory card of sorts. Very few games absolutely required a memory pack for primary and sole saving from I can recall.
Looking at the list linked above showing the usage of save locations I can tell you flat out that Perfect Dark does use it's cart to store save data and can load saves from a memory pack. Alternately the memory pack can be used to move saves around from cart to cart or as backup. The latter of which saved my butt at least once when the edge connector got a hairline crack somewhere.