Sure. Add columns "previous" and "next"; both can also be foreign keys into this table.
Querying is a bit less straightforward, though; you need a recursive query to traverse the pointers. (Or traverse in application logic, at the cost of a bunch of unnecessary round-trips.)