Yes, it may be. It depends on the sensitivity of the pregnancy test, though. If it is able to detect low levels of pregnancy hormones, you can get a positive result as early as 4-5 days before your period is due.
Suggested for you: When to Do a Pregnancy Test? – How to Use, Results & Accuracy.