Many fabrics are narrower than 45 inches -
In fact, some are barely 42 inches wide -
And, if you wash fabric before cutting, you may lose some more width.
But back to your original question - yes, you can get all those out of one yard of even the narrower fabric.