Yes, you can. However, the Social Security Administration has a limit on the amount of money that you can earn each month. For 2023, this amount is $1470 (see https://www.ssa.gov/oact/cola/sga.html#:~:text=Amounts%20for%202023,amount%20for%202023%20is%20%241470. For updates on SGA).
It is important to keep in mind that the Social Security Administration will not only consider work that you did in the past, but also other types of work that exist in the national economy that you could possibly do. So, if you are working doing a job that is equivalent to or slightly less than what you were doing before, this doesn’t exactly help your claim for disability. For example:
In conclusion, while you can work while filing for disability benefits (as long as you work below SGA) it is definitely not something that we recommend doing as it complicates your case.