I am assuming you mean an FHA streamline. The answer is yes, what is not allowed is for your mortgage balance to go up. On VA streamlines almost all of the lenders are doing an appraisal and charrging for that up front.
You need to be more specific in your question. Generally, the only fees allowed to be collected up front are for a credit report; however, that pertains to pre-disclosure. After disclosure is a different story so it depends on what you mean by "upfront."