Can a neural network be trained on a dataset containing only values for true output for a classification problem?
Yes, you can and the answer is One-Class Classification. A well-written resource to understand is this.