Yes sure,
you can use the robot.toml
file like this:
variable-files = ["myvariable.pys", "myothervariables.py"]
[profiles.prod]
extend-variable-files = ["myvariable2.py"]
or you can search in the vscode settings for robotcode.robot.variableFiles
and add you variable files there.