It's stretching the Big Oh notation but it isn't terrible.
I wonder about instead using notation like
N = ~10
I'd say it is terrible. O(10) is O(1), and it doesn't make a lot of sense in this context (measure of growth to represent a scalar).