No. The sputum sample collected as you have described is unacceptable for microbiological evaluation for TB. You shall have to collect a fresh container and submit a repeat specimen. The ideal time to collect the specimen is in the morning after you wake up. Taking a couple of glasses of warm water helps in hydration and helps to bring out the sample easily. Steam inhalation may also help. In case these measures fail, then induced sputum can be collected by giving hypertonic saline nebulisation. If these measures fail, and the X-ray is suggestive of TB, a diagnostic bronchoscopy
could be done to collect the sample from the airways.