It doesn't have to be a document, but I think it does need to be a thing. For example, most courthouses have an eagle feather you can swear oaths on if you want (several native American tribes do this).
I think you can also "affirm" instead of "swearing an oath," and that avoids any need for an object.
I think you can also "affirm" instead of "swearing an oath," and that avoids any need for an object.