Set the Meteor port programmatically (not from CLI)?

Can we set the port that Meteor runs on from a configuration or package, not from the CLI?