Yes, function pointers can be stored in containers, but you need to ensure that the container type matches the function pointer type. Using std::function or functors can provide more flexibility in container usage.